package model.handler;

import java.util.ArrayList;
import java.util.List;

public class HandlerFactory {

	private List<Handler> handlerList = new ArrayList<Handler>();

	
	public Handler getHandler(String className){
		Handler h = new Handler(className);
		handlerList.add(h);
		return h;
	}
	
	public List<Handler> getHandlerList() {
		return handlerList;
	}
	
	public void setHandlerList(List<Handler> handlerList) {
		this.handlerList = handlerList;
	}
	
}
